﻿//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1998-2024 Glodon Company Limited.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the “Software”),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//////////////////////////////////////////////////////////////////////////////
#include "ParameterDefine.h"
#include "IParameterDefinition.h"
#include "TranslatorManager.h"
#include "UnitUniIdentities.h"
#include "ParameterType.h"
#include "EnableCompileWarning_The_LAST_IncludeInCpp.h"

using namespace gcmp;

//参数定义
namespace Sample
{
    //长度参数
    DECLARE_GUID(LENGTH_PARAMETER) = { 0x39817edf, 0xe27b, 0x4299, 0x92, 0x81, 0x9b, 0xd2, 0x9f, 0x12, 0x36, 0x7b };
    IMPLEMENT_PD(LENGTH_PARAMETER, GBMP_TR(L"长度"), GBMP_TR(L"基本属性"), GBMP_TR(L"长度"), L"Length Parameter", 
        ParameterStorageType::Double, UNIT(Length), PARAMETER_TYPE(Length))

    DECLARE_GUID(WIDTH_PARAMETER) = { 0x79A34949, 0xC464, 0xBD85, 0x05, 0x84, 0x1C, 0xB9, 0xF8, 0xAF, 0x4B, 0x74 };
    IMPLEMENT_PD(WIDTH_PARAMETER, GBMP_TR(L"宽度"), GBMP_TR(L"基本属性"), GBMP_TR(L"宽度"), L"Width Parameter", 
        ParameterStorageType::Double, UNIT(Length), PARAMETER_TYPE(Length))

    DECLARE_GUID(HEIGHT_PARAMETER) = { 0x5D737EAF, 0xA636, 0xCE3E, 0x32, 0x49, 0x18, 0xE9, 0x79, 0x6D, 0x2D, 0x1B };
    IMPLEMENT_PD(HEIGHT_PARAMETER, GBMP_TR(L"高度"), GBMP_TR(L"基本属性"), GBMP_TR(L"高度"), L"Height Parameter", 
        ParameterStorageType::Double, UNIT(Length), PARAMETER_TYPE(Length))
}


